Page({
  data: {
    joinedList: []
  },
  onShow: function() {
    const joined = wx.getStorageSync('joinedActivities') || [];
    this.setData({ joinedList: joined });
  }
});
